home *** CD-ROM | disk | FTP | other *** search
/ TOS Silver 2000 / TOS Silver 2000.iso / programm / GNUC / GCC-281S.LZH / ReadMe < prev   
Encoding:
Text File  |  1998-06-10  |  1.2 KB  |  44 lines

  1.  
  2.  gcc 2.8.1 for Atari
  3.  -------------------
  4.  
  5. What do you need for recompiling gcc on Atari running MiNT?
  6.  
  7.  - a MiNT system that's powerfull enough to run GNU configure scripts
  8.  - 32 MB minix hard disc space
  9.  - much time (on TT with 24 MB RAM min. 4 hours/stage :-)
  10.  
  11. Steps for recompiling:
  12.  
  13.  - apply the diffs
  14.  
  15.  - copy the files config/m68k/* to the direktory gcc-2.8.1/config/m68k
  16.     
  17.  - run configure:
  18.      for native compiler running on TOS/MiNT/MagiC
  19.         configure --prefix=/usr
  20.  
  21.     or for a cross compiler running e.g. on Linux68k
  22.         configure --target=m68k-atari-mint
  23.  
  24.  - After configure had create some new headers and the makefiles you can
  25.    start make to compiling the first stage (2.8.1 compiled by old version)
  26.         make LANGUAGES="c"
  27.  
  28.    Now you use the new C compiler for making the second stage (C and C++)
  29.    (2.8.1 compiled by 2.8.1):
  30.            make stage1
  31.            make make CC="stage1/xgcc -Bstage1/" LANGUAGES="c c++"
  32.  
  33.    After stage2 has finished you can install the new compiler by hand
  34.    (I haven't test `make install`)
  35.            xgcc    the new c driver (gcc.ttp)
  36.            cc1        the new c compiler (cc1.ttp)
  37.            g++        the new c++ driver (g++.ttp)
  38.            cc1plus    the new c++ compiler (cc1plus.ttp)
  39.            cpp        the new preprocessor (cpp.ttp)
  40.  
  41. Christian Felsch
  42. felsch@tu-harburg.de
  43. May 1998
  44.